package com.lagou;

import org.I0Itec.zkclient.ZkClient;

/**
 * @author czq
 * @date 2020/8/27 2:33
 */
public class UpdateNote {

    public static void main(String[] args) {
        ZkClient zkClient = new ZkClient("127.0.0.1:2181");
        zkClient.writeData("/dataSource/url", "jdbc:mysql://localhost:3306/new_blog_system?serverTimezone=UTC");
    }
}
